<!DOCTYPE html>
<html lang="en">
<head>
	 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
	<title></title>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/css/bootstrap.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/css/bootstrap-theme.min.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>public/css/css.css">
</head>
<body>
<div class="col-md-12">	
	<div class="row header_top_ul imag_header">
		<div class="container">
			

			<div class="navbar-header">				
		          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
		            <span class="sr-only">Menu</span>
		            <span class="icon-bar"></span>
		            <span class="icon-bar"></span>
		            <span class="icon-bar"></span>
		          </button>
		          	<?php 
		          	$image_properties = array(
				          'src'   => 'public/images/logo/logo_page.png',
				          'alt'   => 'logo',
				          'class' => 'logo_images'
						);
		          	echo img($image_properties);
		          	?>
       		 </div>
	        <div id="navbar" class="navbar-collapse collapse" aria-expanded="false" style="height: 1px;">
	          	<div class="row">
	          	<ul class="menu_header pull-right">
	          		<?php 
	          			if($this->session->userdata("logged_in")){
	          				echo '<li><a>'.$this->session->userdata("userName").'</a></li>';
	          				echo '	<li class="border_left">|</li>';
	          			}else{ 

	          		?>
	          	
					<li>                       
						  <!-- <?php echo anchor("khmerhr/about","About Us",""); ?> -->
                    <div class="btn-group">
 					       <a href=""  data-toggle="dropdown" aria-expanded="false">
   						        About us <span class="caret"></span>
  					       </a>
  					   <ul class="dropdown-menu" role="menu">
   					     <li><?php echo anchor("khmerhr/service","Our Service",""); ?></li>
   						 <li><?php echo anchor("khmerhr/contact","Contact Info",""); ?></li>  
   						 <li><?php echo anchor("khmerhr/about","About us",""); ?></li> 						
  						</ul>
					</div>

					</li>                   


					<li class="border_left">|</li>
					<li><?php echo anchor("khmerhr/register","Register"); ?></li>
					<li class="border_left">|</li>

					<li><?php echo anchor("khmerhr/login","Login"); ?></li>
					<li class="border_left">|</li>
					<?php } ?>
					<li><?php echo anchor("khmerhr/feedback","Feedback"); ?></li>
					<li class="border_left">|</li>
					<li><?php echo anchor("khmerhr/help","Help"); ?></li>
					<?php 
	          			if($this->session->userdata("logged_in")){
	          				echo '	<li class="border_left">|</li>';
	          				echo '<li>'.anchor("khmerhr/logout","Logout").'</li>';
	          				
	          			}

	          		?>
					<!-- <li class="border_left">|</li>
					 <li class="dropdown">
			          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Language <span class="caret"></span></a>
			          <ul class="dropdown-menu" id="dropdown_menu" role="menu">
			          	<span class="glyphicon glyphicon-chevron-up icon_up"></span>
			            <li><a href="#"><img src="<?php echo base_url();?>public/images/header/flag_cambodia.png" alt="flag" class="img_flag"/> &nbsp;Khmer</a></li>
			            <li><a href="#"><img src="<?php echo base_url();?>public/images/header/english.png" alt="flag" class="img_flag" /> &nbsp;English</a></li>
			            <li><a href="#"><img src="<?php echo base_url();?>public/images/header/thailand.png" alt="flag" class="img_flag" /> &nbsp;Thai</a></li>
			          </ul>
			        </li> -->
				</ul>
				</div>

				<div class="row">
					<ul class="nav nav-tabs  pull-right" id="nav_tabs">
					  <li role="presentation">
					  	<?php echo anchor(base_url(),'<span class="glyphicon glyphicon-home"></span> Home'); ?>
					  	
					  	</li>
					  <li role="presentation"><a href="#"><span class="glyphicon glyphicon-user"></span> Employer</a></li>

					  <li role="presentation"><?php echo anchor("khmerhr/contact",'<span class="glyphicon glyphicon-earphone"></span> Contact Info',''); ?></li>
					  <!-- <span class="glyphicon glyphicon-earphone"></span> -->
					</ul>
				</div>
	        </div>
	        <!--/.navbar-collapse -->

		</div>
	</div>

	<div class="row searchJob">
		<div class="container">
			<div class="row">
				<form class="form-horizontal">
			    <div class="col-sm-4 no_right">
			      <input type="email" class="form-control input-sm no_radius" placeholder="Keywords">
			    </div>
			    <div class="col-sm-3 no_right">


					<?php

					$valCate = "";
					$valLocation = "";
					$url4 = $this->uri->segment(3);
					if($url4){
						$arrCate = explode("_", $url4);
						if($arrCate[0] == "categoryId"){
							$valCate = $arrCate[1];
						}else if($arrCate[0] == "locationId"){
							$valLocation = $arrCate[1];
						}
					}
					 $arr_catergory = array(''=>"Job Categories");
						foreach (getJobType()->result() as  $row_catergory) {
							 $arr_catergory[$row_catergory->jobTypeID] = $row_catergory->jobTypeName;
						 } 
						 echo form_dropdown('jobCatergory',$arr_catergory,$valCate,'class="form-control input-sm no_radius"');
					?>
			    </div>
			    <div class="col-sm-3 no_right">
			      <?php
			      		$arr_location = array(''=>"Locations");
						foreach (getLocation()->result() as $key => $row_location) {
						 	 $arr_location[$row_location->locationID] = $row_location->locationName;
						 } 
						echo form_dropdown('location',$arr_location,$valLocation,'class="form-control input-sm no_radius"');
					?> 
			    </div>
			    
			 	<div class="col-sm-2">
			 		<table class="tbl">
			 			<tr>
			 				<td><img src="<?php echo base_url(); ?>public/images/logo/facebook.png" class="img-responsive imgSocial" alt="images"/></td>
			 				<td><img src="<?php echo base_url(); ?>public/images/logo/twitter.png" class="img-responsive imgSocial" alt="images"/></td>
			 				<td><img src="<?php echo base_url(); ?>public/images/logo/tumblr.png" class="img-responsive imgSocial" alt="images"/></td>
			 				<td><img src="<?php echo base_url(); ?>public/images/logo/google.png" class="img-responsive imgSocial" alt="images"/></td>
			 				<td><img src="<?php echo base_url(); ?>public/images/logo/youtube.png" class="img-responsive imgSocial" alt="images"/></td>
			 			</tr>
			 		</table>
			 	</div>
				</form>
			</div>
		</div>
	</div>
	<div class="row">
		<div class="container content">
		<div class="row">
			<div class="col-md-9 left_bar">
				<?php  
					if(isset($page)){
						$this->load->view("khmerhr/".$page);
					}
				?>
				
			</div>
			<div class="col-md-3 right_bar">
				
				<div class="form-group">
					<div class="search_job right_padding_15">
						<!-- <ul class="menu_header menu_rights">
							<li><?php echo anchor("khmerhr/login","Login"); ?></li>
							<li class="border_left">|</li>
							<li><?php echo anchor("khmerhr/register","Register"); ?></li>
							<li class="border_left">|</li>
							<li><?php echo anchor("khmerhr/register","Change Language"); ?></li>
						</ul> -->
						<!-- <hr class="hrs"/> -->
						<p>
						<img src="<?php echo base_url(); ?>public/images/body/127c4190d199781515bda9d55b06310f.gif" class="img-responsive" alt="images"/>
						</p>
						<p>
						<img src="<?php echo base_url(); ?>public/images/body/127c4190d199781515bda9d55b06310f.gif" class="img-responsive" alt="images"/>
						</p>
					</div>
				</div>
			</div>
		</div>
		
	</div>

	</div>
	<div class="row footerWarp">
		<div class="container">
			<div class="form-group adverType">
				<div class="row">
					<div class="col-md-2 no_right">
						<img src="<?php echo base_url(); ?>public/images/logo/cellcard.jpg" class="img-responsive" alt="images"/>
							
					</div>
					<div class="col-md-2 no_right">
						<img src="<?php echo base_url(); ?>public/images/logo/smart.png" class="img-responsive" alt="images"/>
							
					</div>
					<div class="col-md-2 no_right">
						<img src="<?php echo base_url(); ?>public/images/logo/cellcard.jpg" class="img-responsive" alt="images"/>
							
					</div>
					<div class="col-md-2 no_right">
						<img src="<?php echo base_url(); ?>public/images/logo/smart.png" class="img-responsive" alt="images"/>
							
					</div>
					<div class="col-md-2 no_right">
						<img src="<?php echo base_url(); ?>public/images/logo/cellcard.jpg" class="img-responsive" alt="images"/>
							
					</div>
					<div class="col-md-2 ">
						<img src="<?php echo base_url(); ?>public/images/logo/ppm.jpg" class="img-responsive" alt="images"/>
							
					</div>
				</div>
			</div>
			Copy &copy; Right by Career Page Job Opportunities
		</div>
	</div>
</div>

	
	
	<script type="text/javascript" src="<?php echo base_url();?>public/js/jquery.min.js"></script>
	<script type="text/javascript" src="<?php echo base_url();?>public/js/bootstrap.min.js"></script>
	
</body>
</html>